/**
 * @author iLakeYC
 */
+function ($) {
    "use strict";

    var DOMAIN = ".padj.group";
    // Expires in 30 days
    var EXPIRES = 30 * 24 * 60 * 60 * 1000;

    $.addCookie = function (key, value) {
        return $.cookie(key, value, {
            path: DOMAIN,
            expires: EXPIRES
        });
    };

    $.getCookie = function (key) {
        return $.cookie(key);
    };

    $.removeCookie = function (key) {
        return $.addCookie(key, null);
    };

}($);